export const columns = [
    {
        title: '添加时间',
        dataIndex: 'createTime',
        key: 'createTime',
        align: 'center',
        width: '120px',
    },
    {
        title: '公司名称',
        dataIndex: 'companyName',
        key: 'companyName',
        align: 'center',
        width: '130px',
    },
    {
        title: '统一社会信用代码',
        dataIndex: 'socialCode',
        key: 'socialCode',
        align: 'center',
        width: '130px'
    },
    {
        title: '联系人',
        dataIndex: 'contactName',
        key: 'contactName',
        align: 'center',
        width: '130px',
    },
    {
        title: '联系电话',
        dataIndex: 'contactPhone',
        key: 'contactPhone',
        align: 'center',
        width: '130px',
    },
    {
        title: '营业执照',
        dataIndex: 'businessLicense',
        key: 'businessLicense',
        scopedSlots: { customRender: 'businessLicense' },
        align: 'center',
        width: '130px',
    },
    {
        title: '备注',
        dataIndex: 'remark',
        key: 'remark',
        align: 'center',
        scopedSlots: { customRender: 'remark' },
        width: '130px',
    },
    {
        title: '实名认证',
        dataIndex: 'realNameStatus',
        key: 'realNameStatus',
        align: 'center',
        scopedSlots: { customRender: 'realNameStatus' },
        width: '100px'
    },
    {
        title: '状态',
        dataIndex: 'state',
        key: 'state',
        align: 'center',
        scopedSlots: { customRender: 'state' },
        sorter: (a, b) => a.state - b.state,
        sortDirections: ['descend', 'ascend'],
        width: '100px'
    },
    {
        title: '操作',
        key: 'operation',
        dataIndex: 'operation',
        scopedSlots: { customRender: 'operation' },
        align: 'center',
        width: '140px',
    },
]